package b4a.bbb;


import anywheresoftware.b4a.BA;
import anywheresoftware.b4a.B4AClass;
import anywheresoftware.b4a.BALayout;
import anywheresoftware.b4a.debug.*;

public class nb6 extends B4AClass.ImplB4AClass implements BA.SubDelegator{
    private static java.util.HashMap<String, java.lang.reflect.Method> htSubs;
    private void innerInitialize(BA _ba) throws Exception {
        if (ba == null) {
            ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "b4a.bbb.nb6");
            if (htSubs == null) {
                ba.loadHtSubs(this.getClass());
                htSubs = ba.htSubs;
            }
            
        }
        if (BA.isShellModeRuntimeCheck(ba)) 
			   this.getClass().getMethod("_class_globals", b4a.bbb.nb6.class).invoke(this, new Object[] {null});
        else
            ba.raiseEvent2(null, true, "class_globals", false);
    }

 
    public void  innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{
        innerInitialize(_ba);
    }
    public Object callSub(String sub, Object sender, Object[] args) throws Exception {
        return BA.SubDelegator.SubNotFound;
    }
public anywheresoftware.b4a.keywords.Common __c = null;
public anywheresoftware.b4j.object.JavaObject _channel = null;
public anywheresoftware.b4j.object.JavaObject _notificationbuilder = null;
public int _sdklevel = 0;
public anywheresoftware.b4j.object.JavaObject _ctxt = null;
public int _s_old = 0;
public int _s_builder = 0;
public int _s_channel = 0;
public int _supportlevel = 0;
public anywheresoftware.b4a.objects.NotificationWrapper _oldnotification = null;
public anywheresoftware.b4j.object.JavaObject _pendingintentstatic = null;
public anywheresoftware.b4j.object.JavaObject _notificationstatic = null;
public anywheresoftware.b4j.object.JavaObject _common = null;
public b4a.bbb.main _main = null;
public b4a.bbb.starter _starter = null;
public b4a.bbb.param _param = null;
public b4a.bbb.setup _setup = null;
public b4a.bbb.cockpit _cockpit = null;
public b4a.bbb.collecte_data_sensor _collecte_data_sensor = null;
public b4a.bbb.httputils2service _httputils2service = null;
public anywheresoftware.b4a.objects.NotificationWrapper  _build(b4a.bbb.nb6 __ref,Object _contenttitle,Object _contenttext,String _tag,Object _activity) throws Exception{
__ref = this;
RDebugUtils.currentModule="nb6";
if (Debug.shouldDelegate(ba, "build", false))
	 {return ((anywheresoftware.b4a.objects.NotificationWrapper) Debug.delegate(ba, "build", new Object[] {_contenttitle,_contenttext,_tag,_activity}));}
anywheresoftware.b4a.objects.IntentWrapper _in = null;
Object _pendingintent = null;
anywheresoftware.b4j.object.JavaObject _manager = null;
RDebugUtils.currentLine=6422528;
 //BA.debugLineNum = 6422528;BA.debugLine="Public Sub Build (ContentTitle As Object, ContentT";
RDebugUtils.currentLine=6422529;
 //BA.debugLineNum = 6422529;BA.debugLine="If IsOld Then";
if (__ref._isold /*boolean*/ (null)) { 
RDebugUtils.currentLine=6422530;
 //BA.debugLineNum = 6422530;BA.debugLine="OldNotification.SetInfo2(ContentTitle, ContentTe";
__ref._oldnotification /*anywheresoftware.b4a.objects.NotificationWrapper*/ .SetInfo2New(ba,BA.ObjectToCharSequence(_contenttitle),BA.ObjectToCharSequence(_contenttext),BA.ObjectToCharSequence(_tag),_activity);
RDebugUtils.currentLine=6422531;
 //BA.debugLineNum = 6422531;BA.debugLine="Return OldNotification";
if (true) return __ref._oldnotification /*anywheresoftware.b4a.objects.NotificationWrapper*/ ;
 }else {
RDebugUtils.currentLine=6422533;
 //BA.debugLineNum = 6422533;BA.debugLine="Dim in As Intent = CreateIntent(Activity, False)";
_in = new anywheresoftware.b4a.objects.IntentWrapper();
_in = __ref._createintent /*anywheresoftware.b4a.objects.IntentWrapper*/ (null,_activity,__c.False);
RDebugUtils.currentLine=6422534;
 //BA.debugLineNum = 6422534;BA.debugLine="in.Flags = Bit.Or(268435456, 131072) 'FLAG_ACTIV";
_in.setFlags(__c.Bit.Or((int) (268435456),(int) (131072)));
RDebugUtils.currentLine=6422535;
 //BA.debugLineNum = 6422535;BA.debugLine="in.PutExtra(\"Notification_Tag\", Tag)";
_in.PutExtra("Notification_Tag",(Object)(_tag));
RDebugUtils.currentLine=6422536;
 //BA.debugLineNum = 6422536;BA.debugLine="Dim PendingIntent As Object = PendingIntentStati";
_pendingintent = __ref._pendingintentstatic /*anywheresoftware.b4j.object.JavaObject*/ .RunMethod("getActivity",new Object[]{(Object)(__ref._ctxt /*anywheresoftware.b4j.object.JavaObject*/ .getObject()),(Object)(__c.Rnd((int) (0),(int) (0x7fffffff))),(Object)(_in.getObject()),(Object)(0)});
RDebugUtils.currentLine=6422537;
 //BA.debugLineNum = 6422537;BA.debugLine="NotificationBuilder.RunMethodJO(\"setContentTitle";
__ref._notificationbuilder /*anywheresoftware.b4j.object.JavaObject*/ .RunMethodJO("setContentTitle",new Object[]{_contenttitle}).RunMethodJO("setContentText",new Object[]{_contenttext});
RDebugUtils.currentLine=6422538;
 //BA.debugLineNum = 6422538;BA.debugLine="NotificationBuilder.RunMethod(\"setContentIntent\"";
__ref._notificationbuilder /*anywheresoftware.b4j.object.JavaObject*/ .RunMethod("setContentIntent",new Object[]{_pendingintent});
RDebugUtils.currentLine=6422540;
 //BA.debugLineNum = 6422540;BA.debugLine="If IsChannel Then";
if (__ref._ischannel /*boolean*/ (null)) { 
RDebugUtils.currentLine=6422541;
 //BA.debugLineNum = 6422541;BA.debugLine="Dim manager As JavaObject = ctxt.RunMethod(\"get";
_manager = new anywheresoftware.b4j.object.JavaObject();
_manager.setObject((java.lang.Object)(__ref._ctxt /*anywheresoftware.b4j.object.JavaObject*/ .RunMethod("getSystemService",new Object[]{(Object)("notification")})));
RDebugUtils.currentLine=6422542;
 //BA.debugLineNum = 6422542;BA.debugLine="manager.RunMethod(\"createNotificationChannel\",";
_manager.RunMethod("createNotificationChannel",new Object[]{(Object)(__ref._channel /*anywheresoftware.b4j.object.JavaObject*/ .getObject())});
 };
RDebugUtils.currentLine=6422545;
 //BA.debugLineNum = 6422545;BA.debugLine="Return NotificationBuilder.RunMethod(\"build\", Nu";
if (true) return (anywheresoftware.b4a.objects.NotificationWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.NotificationWrapper(), (java.lang.Object)(__ref._notificationbuilder /*anywheresoftware.b4j.object.JavaObject*/ .RunMethod("build",(Object[])(__c.Null))));
 };
RDebugUtils.currentLine=6422547;
 //BA.debugLineNum = 6422547;BA.debugLine="End Sub";
return null;
}
public b4a.bbb.nb6  _initialize(b4a.bbb.nb6 __ref,anywheresoftware.b4a.BA _ba,String _channelid,Object _channelname,String _importancelevel) throws Exception{
__ref = this;
innerInitialize(_ba);
RDebugUtils.currentModule="nb6";
if (Debug.shouldDelegate(ba, "initialize", false))
	 {return ((b4a.bbb.nb6) Debug.delegate(ba, "initialize", new Object[] {_ba,_channelid,_channelname,_importancelevel}));}
anywheresoftware.b4j.object.JavaObject _jo = null;
anywheresoftware.b4a.objects.collections.Map _im = null;
int _i = 0;
anywheresoftware.b4a.objects.collections.Map _pm = null;
int _p = 0;
RDebugUtils.currentLine=5111808;
 //BA.debugLineNum = 5111808;BA.debugLine="Public Sub Initialize (ChannelId As String, Channe";
RDebugUtils.currentLine=5111809;
 //BA.debugLineNum = 5111809;BA.debugLine="ctxt.InitializeContext";
__ref._ctxt /*anywheresoftware.b4j.object.JavaObject*/ .InitializeContext(ba);
RDebugUtils.currentLine=5111810;
 //BA.debugLineNum = 5111810;BA.debugLine="PendingIntentStatic.InitializeStatic(\"android.app";
__ref._pendingintentstatic /*anywheresoftware.b4j.object.JavaObject*/ .InitializeStatic("android.app.PendingIntent");
RDebugUtils.currentLine=5111811;
 //BA.debugLineNum = 5111811;BA.debugLine="NotificationStatic.InitializeStatic(\"android.app.";
__ref._notificationstatic /*anywheresoftware.b4j.object.JavaObject*/ .InitializeStatic("android.app.Notification");
RDebugUtils.currentLine=5111812;
 //BA.debugLineNum = 5111812;BA.debugLine="common.InitializeStatic(\"anywheresoftware.b4a.key";
__ref._common /*anywheresoftware.b4j.object.JavaObject*/ .InitializeStatic("anywheresoftware.b4a.keywords.Common");
RDebugUtils.currentLine=5111813;
 //BA.debugLineNum = 5111813;BA.debugLine="Dim jo As JavaObject";
_jo = new anywheresoftware.b4j.object.JavaObject();
RDebugUtils.currentLine=5111814;
 //BA.debugLineNum = 5111814;BA.debugLine="SdkLevel = jo.InitializeStatic(\"android.os.Build$";
__ref._sdklevel /*int*/  = (int)(BA.ObjectToNumber(_jo.InitializeStatic("android.os.Build$VERSION").GetField("SDK_INT")));
RDebugUtils.currentLine=5111815;
 //BA.debugLineNum = 5111815;BA.debugLine="If SdkLevel < 23 Then";
if (__ref._sdklevel /*int*/ <23) { 
RDebugUtils.currentLine=5111816;
 //BA.debugLineNum = 5111816;BA.debugLine="SupportLevel = S_OLD";
__ref._supportlevel /*int*/  = __ref._s_old /*int*/ ;
 }else 
{RDebugUtils.currentLine=5111817;
 //BA.debugLineNum = 5111817;BA.debugLine="Else if SdkLevel >= 26 Then";
if (__ref._sdklevel /*int*/ >=26) { 
RDebugUtils.currentLine=5111818;
 //BA.debugLineNum = 5111818;BA.debugLine="SupportLevel = S_CHANNEL";
__ref._supportlevel /*int*/  = __ref._s_channel /*int*/ ;
 }else {
RDebugUtils.currentLine=5111820;
 //BA.debugLineNum = 5111820;BA.debugLine="SupportLevel = S_BUILDER";
__ref._supportlevel /*int*/  = __ref._s_builder /*int*/ ;
 }}
;
RDebugUtils.currentLine=5111822;
 //BA.debugLineNum = 5111822;BA.debugLine="If IsOld Then";
if (__ref._isold /*boolean*/ (null)) { 
RDebugUtils.currentLine=5111823;
 //BA.debugLineNum = 5111823;BA.debugLine="OldNotification.Initialize";
__ref._oldnotification /*anywheresoftware.b4a.objects.NotificationWrapper*/ .Initialize();
RDebugUtils.currentLine=5111824;
 //BA.debugLineNum = 5111824;BA.debugLine="OldNotification.Icon = \"icon\"";
__ref._oldnotification /*anywheresoftware.b4a.objects.NotificationWrapper*/ .setIcon("icon");
 }else 
{RDebugUtils.currentLine=5111825;
 //BA.debugLineNum = 5111825;BA.debugLine="Else if IsChannel Then";
if (__ref._ischannel /*boolean*/ (null)) { 
RDebugUtils.currentLine=5111826;
 //BA.debugLineNum = 5111826;BA.debugLine="ChannelId = ChannelId & \"_\" & ImportanceLevel";
_channelid = _channelid+"_"+_importancelevel;
RDebugUtils.currentLine=5111827;
 //BA.debugLineNum = 5111827;BA.debugLine="NotificationBuilder.InitializeNewInstance(\"andro";
__ref._notificationbuilder /*anywheresoftware.b4j.object.JavaObject*/ .InitializeNewInstance("android.app.Notification$Builder",new Object[]{(Object)(__ref._ctxt /*anywheresoftware.b4j.object.JavaObject*/ .getObject()),(Object)(_channelid)});
RDebugUtils.currentLine=5111828;
 //BA.debugLineNum = 5111828;BA.debugLine="Dim im As Map = CreateMap(\"MIN\": 1, \"LOW\": 2, \"D";
_im = new anywheresoftware.b4a.objects.collections.Map();
_im = __c.createMap(new Object[] {(Object)("MIN"),(Object)(1),(Object)("LOW"),(Object)(2),(Object)("DEFAULT"),(Object)(3),(Object)("HIGH"),(Object)(4)});
RDebugUtils.currentLine=5111829;
 //BA.debugLineNum = 5111829;BA.debugLine="Dim i As Int = im.Get(ImportanceLevel)";
_i = (int)(BA.ObjectToNumber(_im.Get((Object)(_importancelevel))));
RDebugUtils.currentLine=5111830;
 //BA.debugLineNum = 5111830;BA.debugLine="Channel.InitializeNewInstance(\"android.app.Notif";
__ref._channel /*anywheresoftware.b4j.object.JavaObject*/ .InitializeNewInstance("android.app.NotificationChannel",new Object[]{(Object)(_channelid),(Object)(__c.Application.getLabelName()),(Object)(_i)});
 }else {
RDebugUtils.currentLine=5111832;
 //BA.debugLineNum = 5111832;BA.debugLine="NotificationBuilder.InitializeNewInstance(\"andro";
__ref._notificationbuilder /*anywheresoftware.b4j.object.JavaObject*/ .InitializeNewInstance("android.app.Notification$Builder",new Object[]{(Object)(__ref._ctxt /*anywheresoftware.b4j.object.JavaObject*/ .getObject())});
RDebugUtils.currentLine=5111833;
 //BA.debugLineNum = 5111833;BA.debugLine="Dim pm As Map = CreateMap(\"MIN\": -2, \"LOW\": -1,";
_pm = new anywheresoftware.b4a.objects.collections.Map();
_pm = __c.createMap(new Object[] {(Object)("MIN"),(Object)(-2),(Object)("LOW"),(Object)(-1),(Object)("DEFAULT"),(Object)(0),(Object)("HIGH"),(Object)(1)});
RDebugUtils.currentLine=5111834;
 //BA.debugLineNum = 5111834;BA.debugLine="Dim p As Int = pm.Get(ImportanceLevel)";
_p = (int)(BA.ObjectToNumber(_pm.Get((Object)(_importancelevel))));
RDebugUtils.currentLine=5111835;
 //BA.debugLineNum = 5111835;BA.debugLine="NotificationBuilder.RunMethod(\"setPriority\", Arr";
__ref._notificationbuilder /*anywheresoftware.b4j.object.JavaObject*/ .RunMethod("setPriority",new Object[]{(Object)(_p)});
 }}
;
RDebugUtils.currentLine=5111837;
 //BA.debugLineNum = 5111837;BA.debugLine="If ImportanceLevel = \"DEFAULT\" Or ImportanceLevel";
if ((_importancelevel).equals("DEFAULT") || (_importancelevel).equals("HIGH")) { 
RDebugUtils.currentLine=5111838;
 //BA.debugLineNum = 5111838;BA.debugLine="SetDefaults(True, True, True)";
__ref._setdefaults /*b4a.bbb.nb6*/ (null,__c.True,__c.True,__c.True);
 }else {
RDebugUtils.currentLine=5111840;
 //BA.debugLineNum = 5111840;BA.debugLine="SetDefaults(False, True, True)";
__ref._setdefaults /*b4a.bbb.nb6*/ (null,__c.False,__c.True,__c.True);
 };
RDebugUtils.currentLine=5111842;
 //BA.debugLineNum = 5111842;BA.debugLine="Return Me";
if (true) return (b4a.bbb.nb6)(this);
RDebugUtils.currentLine=5111843;
 //BA.debugLineNum = 5111843;BA.debugLine="End Sub";
return null;
}
public b4a.bbb.nb6  _autocancel(b4a.bbb.nb6 __ref,boolean _cancel) throws Exception{
__ref = this;
RDebugUtils.currentModule="nb6";
if (Debug.shouldDelegate(ba, "autocancel", false))
	 {return ((b4a.bbb.nb6) Debug.delegate(ba, "autocancel", new Object[] {_cancel}));}
RDebugUtils.currentLine=5570560;
 //BA.debugLineNum = 5570560;BA.debugLine="Public Sub AutoCancel (Cancel As Boolean) As NB6";
RDebugUtils.currentLine=5570561;
 //BA.debugLineNum = 5570561;BA.debugLine="If IsOld Then";
if (__ref._isold /*boolean*/ (null)) { 
RDebugUtils.currentLine=5570562;
 //BA.debugLineNum = 5570562;BA.debugLine="OldNotification.AutoCancel = Cancel";
__ref._oldnotification /*anywheresoftware.b4a.objects.NotificationWrapper*/ .setAutoCancel(_cancel);
 }else {
RDebugUtils.currentLine=5570564;
 //BA.debugLineNum = 5570564;BA.debugLine="NotificationBuilder.RunMethod(\"setAutoCancel\", A";
__ref._notificationbuilder /*anywheresoftware.b4j.object.JavaObject*/ .RunMethod("setAutoCancel",new Object[]{(Object)(_cancel)});
 };
RDebugUtils.currentLine=5570566;
 //BA.debugLineNum = 5570566;BA.debugLine="Return Me";
if (true) return (b4a.bbb.nb6)(this);
RDebugUtils.currentLine=5570567;
 //BA.debugLineNum = 5570567;BA.debugLine="End Sub";
return null;
}
public b4a.bbb.nb6  _badgeicontype(b4a.bbb.nb6 __ref,String _icontype) throws Exception{
__ref = this;
RDebugUtils.currentModule="nb6";
if (Debug.shouldDelegate(ba, "badgeicontype", false))
	 {return ((b4a.bbb.nb6) Debug.delegate(ba, "badgeicontype", new Object[] {_icontype}));}
anywheresoftware.b4a.objects.collections.Map _m = null;
RDebugUtils.currentLine=5636096;
 //BA.debugLineNum = 5636096;BA.debugLine="Public Sub BadgeIconType (IconType As String) As N";
RDebugUtils.currentLine=5636097;
 //BA.debugLineNum = 5636097;BA.debugLine="If SdkLevel >= 26 Then";
if (__ref._sdklevel /*int*/ >=26) { 
RDebugUtils.currentLine=5636098;
 //BA.debugLineNum = 5636098;BA.debugLine="Dim m As Map = CreateMap(\"LARGE\": 2, \"NONE\": 0,";
_m = new anywheresoftware.b4a.objects.collections.Map();
_m = __c.createMap(new Object[] {(Object)("LARGE"),(Object)(2),(Object)("NONE"),(Object)(0),(Object)("SMALL"),(Object)(1)});
RDebugUtils.currentLine=5636099;
 //BA.debugLineNum = 5636099;BA.debugLine="NotificationBuilder.RunMethod(\"setBadgeIconType\"";
__ref._notificationbuilder /*anywheresoftware.b4j.object.JavaObject*/ .RunMethod("setBadgeIconType",new Object[]{_m.Get((Object)(_icontype))});
 };
RDebugUtils.currentLine=5636101;
 //BA.debugLineNum = 5636101;BA.debugLine="Return Me";
if (true) return (b4a.bbb.nb6)(this);
RDebugUtils.currentLine=5636102;
 //BA.debugLineNum = 5636102;BA.debugLine="End Sub";
return null;
}
public b4a.bbb.nb6  _smallicon(b4a.bbb.nb6 __ref,anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _icon) throws Exception{
__ref = this;
RDebugUtils.currentModule="nb6";
if (Debug.shouldDelegate(ba, "smallicon", false))
	 {return ((b4a.bbb.nb6) Debug.delegate(ba, "smallicon", new Object[] {_icon}));}
RDebugUtils.currentLine=5373952;
 //BA.debugLineNum = 5373952;BA.debugLine="Public Sub SmallIcon (Icon As Bitmap) As NB6";
RDebugUtils.currentLine=5373953;
 //BA.debugLineNum = 5373953;BA.debugLine="If IsBuilder Then";
if (__ref._isbuilder /*boolean*/ (null)) { 
RDebugUtils.currentLine=5373954;
 //BA.debugLineNum = 5373954;BA.debugLine="NotificationBuilder.RunMethod(\"setSmallIcon\", Ar";
__ref._notificationbuilder /*anywheresoftware.b4j.object.JavaObject*/ .RunMethod("setSmallIcon",new Object[]{__ref._createiconfrombitmap /*Object*/ (null,_icon)});
 };
RDebugUtils.currentLine=5373956;
 //BA.debugLineNum = 5373956;BA.debugLine="Return Me";
if (true) return (b4a.bbb.nb6)(this);
RDebugUtils.currentLine=5373957;
 //BA.debugLineNum = 5373957;BA.debugLine="End Sub";
return null;
}
public b4a.bbb.nb6  _setdefaults(b4a.bbb.nb6 __ref,boolean _sound,boolean _light,boolean _vibrate) throws Exception{
__ref = this;
RDebugUtils.currentModule="nb6";
if (Debug.shouldDelegate(ba, "setdefaults", false))
	 {return ((b4a.bbb.nb6) Debug.delegate(ba, "setdefaults", new Object[] {_sound,_light,_vibrate}));}
int _currentdefaults = 0;
RDebugUtils.currentLine=6029312;
 //BA.debugLineNum = 6029312;BA.debugLine="Public Sub SetDefaults (Sound As Boolean, Light As";
RDebugUtils.currentLine=6029313;
 //BA.debugLineNum = 6029313;BA.debugLine="If IsOld Then";
if (__ref._isold /*boolean*/ (null)) { 
RDebugUtils.currentLine=6029314;
 //BA.debugLineNum = 6029314;BA.debugLine="OldNotification.Sound = Sound";
__ref._oldnotification /*anywheresoftware.b4a.objects.NotificationWrapper*/ .setSound(_sound);
RDebugUtils.currentLine=6029315;
 //BA.debugLineNum = 6029315;BA.debugLine="OldNotification.Light = Light";
__ref._oldnotification /*anywheresoftware.b4a.objects.NotificationWrapper*/ .setLight(_light);
RDebugUtils.currentLine=6029316;
 //BA.debugLineNum = 6029316;BA.debugLine="OldNotification.Vibrate = Vibrate";
__ref._oldnotification /*anywheresoftware.b4a.objects.NotificationWrapper*/ .setVibrate(_vibrate);
 }else {
RDebugUtils.currentLine=6029318;
 //BA.debugLineNum = 6029318;BA.debugLine="If IsChannel Then";
if (__ref._ischannel /*boolean*/ (null)) { 
RDebugUtils.currentLine=6029319;
 //BA.debugLineNum = 6029319;BA.debugLine="Channel.RunMethod(\"enableLights\", Array(Light))";
__ref._channel /*anywheresoftware.b4j.object.JavaObject*/ .RunMethod("enableLights",new Object[]{(Object)(_light)});
RDebugUtils.currentLine=6029320;
 //BA.debugLineNum = 6029320;BA.debugLine="Channel.RunMethod(\"enableVibration\", Array(Vibr";
__ref._channel /*anywheresoftware.b4j.object.JavaObject*/ .RunMethod("enableVibration",new Object[]{(Object)(_vibrate)});
 }else {
RDebugUtils.currentLine=6029322;
 //BA.debugLineNum = 6029322;BA.debugLine="Dim CurrentDefaults As Int";
_currentdefaults = 0;
RDebugUtils.currentLine=6029323;
 //BA.debugLineNum = 6029323;BA.debugLine="If Sound Then CurrentDefaults = 1";
if (_sound) { 
_currentdefaults = (int) (1);};
RDebugUtils.currentLine=6029324;
 //BA.debugLineNum = 6029324;BA.debugLine="If Vibrate Then CurrentDefaults = Bit.Or(Curren";
if (_vibrate) { 
_currentdefaults = __c.Bit.Or(_currentdefaults,(int) (2));};
RDebugUtils.currentLine=6029325;
 //BA.debugLineNum = 6029325;BA.debugLine="If Light Then CurrentDefaults = Bit.Or(CurrentD";
if (_light) { 
_currentdefaults = __c.Bit.Or(_currentdefaults,(int) (4));};
RDebugUtils.currentLine=6029326;
 //BA.debugLineNum = 6029326;BA.debugLine="NotificationBuilder.RunMethod(\"setDefaults\", Ar";
__ref._notificationbuilder /*anywheresoftware.b4j.object.JavaObject*/ .RunMethod("setDefaults",new Object[]{(Object)(_currentdefaults)});
 };
 };
RDebugUtils.currentLine=6029329;
 //BA.debugLineNum = 6029329;BA.debugLine="Return Me";
if (true) return (b4a.bbb.nb6)(this);
RDebugUtils.currentLine=6029330;
 //BA.debugLineNum = 6029330;BA.debugLine="End Sub";
return null;
}
public b4a.bbb.nb6  _addbuttonaction(b4a.bbb.nb6 __ref,anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _bmp,Object _title,Object _service,String _action) throws Exception{
__ref = this;
RDebugUtils.currentModule="nb6";
if (Debug.shouldDelegate(ba, "addbuttonaction", false))
	 {return ((b4a.bbb.nb6) Debug.delegate(ba, "addbuttonaction", new Object[] {_bmp,_title,_service,_action}));}
Object _ac = null;
RDebugUtils.currentLine=5177344;
 //BA.debugLineNum = 5177344;BA.debugLine="Public Sub AddButtonAction (Bmp As Bitmap, Title A";
RDebugUtils.currentLine=5177345;
 //BA.debugLineNum = 5177345;BA.debugLine="If IsBuilder = False Then Return Me";
if (__ref._isbuilder /*boolean*/ (null)==__c.False) { 
if (true) return (b4a.bbb.nb6)(this);};
RDebugUtils.currentLine=5177346;
 //BA.debugLineNum = 5177346;BA.debugLine="Dim ac As Object = CreateAction(Bmp, Title, Creat";
_ac = __ref._createaction /*Object*/ (null,_bmp,_title,__ref._createreceiverpendingintent /*Object*/ (null,_service,_action));
RDebugUtils.currentLine=5177347;
 //BA.debugLineNum = 5177347;BA.debugLine="NotificationBuilder.RunMethod(\"addAction\", Array(";
__ref._notificationbuilder /*anywheresoftware.b4j.object.JavaObject*/ .RunMethod("addAction",new Object[]{_ac});
RDebugUtils.currentLine=5177348;
 //BA.debugLineNum = 5177348;BA.debugLine="Return Me";
if (true) return (b4a.bbb.nb6)(this);
RDebugUtils.currentLine=5177349;
 //BA.debugLineNum = 5177349;BA.debugLine="End Sub";
return null;
}
public boolean  _isbuilder(b4a.bbb.nb6 __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="nb6";
if (Debug.shouldDelegate(ba, "isbuilder", false))
	 {return ((Boolean) Debug.delegate(ba, "isbuilder", null));}
RDebugUtils.currentLine=6750208;
 //BA.debugLineNum = 6750208;BA.debugLine="Private Sub IsBuilder As Boolean";
RDebugUtils.currentLine=6750209;
 //BA.debugLineNum = 6750209;BA.debugLine="Return SupportLevel >= S_BUILDER";
if (true) return __ref._supportlevel /*int*/ >=__ref._s_builder /*int*/ ;
RDebugUtils.currentLine=6750210;
 //BA.debugLineNum = 6750210;BA.debugLine="End Sub";
return false;
}
public Object  _createaction(b4a.bbb.nb6 __ref,anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _bmp,Object _title,Object _pendingintent) throws Exception{
__ref = this;
RDebugUtils.currentModule="nb6";
if (Debug.shouldDelegate(ba, "createaction", false))
	 {return ((Object) Debug.delegate(ba, "createaction", new Object[] {_bmp,_title,_pendingintent}));}
anywheresoftware.b4j.object.JavaObject _builder = null;
RDebugUtils.currentLine=6619136;
 //BA.debugLineNum = 6619136;BA.debugLine="Private Sub CreateAction (Bmp As Bitmap, Title As";
RDebugUtils.currentLine=6619137;
 //BA.debugLineNum = 6619137;BA.debugLine="Dim builder As JavaObject";
_builder = new anywheresoftware.b4j.object.JavaObject();
RDebugUtils.currentLine=6619138;
 //BA.debugLineNum = 6619138;BA.debugLine="builder.InitializeNewInstance(\"android.app.Notifi";
_builder.InitializeNewInstance("android.app.Notification$Action$Builder",new Object[]{__ref._createiconfrombitmap /*Object*/ (null,_bmp),_title,_pendingintent});
RDebugUtils.currentLine=6619139;
 //BA.debugLineNum = 6619139;BA.debugLine="Return builder.RunMethod(\"build\", Null)";
if (true) return _builder.RunMethod("build",(Object[])(__c.Null));
RDebugUtils.currentLine=6619140;
 //BA.debugLineNum = 6619140;BA.debugLine="End Sub";
return null;
}
public Object  _createreceiverpendingintent(b4a.bbb.nb6 __ref,Object _service,String _action) throws Exception{
__ref = this;
RDebugUtils.currentModule="nb6";
if (Debug.shouldDelegate(ba, "createreceiverpendingintent", false))
	 {return ((Object) Debug.delegate(ba, "createreceiverpendingintent", new Object[] {_service,_action}));}
anywheresoftware.b4a.objects.IntentWrapper _in = null;
RDebugUtils.currentLine=6488064;
 //BA.debugLineNum = 6488064;BA.debugLine="Private Sub CreateReceiverPendingIntent (Service A";
RDebugUtils.currentLine=6488065;
 //BA.debugLineNum = 6488065;BA.debugLine="Dim in As Intent = CreateIntent(Service, True)";
_in = new anywheresoftware.b4a.objects.IntentWrapper();
_in = __ref._createintent /*anywheresoftware.b4a.objects.IntentWrapper*/ (null,_service,__c.True);
RDebugUtils.currentLine=6488066;
 //BA.debugLineNum = 6488066;BA.debugLine="in.Action = Action";
_in.setAction(_action);
RDebugUtils.currentLine=6488067;
 //BA.debugLineNum = 6488067;BA.debugLine="Return PendingIntentStatic.RunMethod(\"getBroadcas";
if (true) return __ref._pendingintentstatic /*anywheresoftware.b4j.object.JavaObject*/ .RunMethod("getBroadcast",new Object[]{(Object)(__ref._ctxt /*anywheresoftware.b4j.object.JavaObject*/ .getObject()),(Object)(1),(Object)(_in.getObject()),(Object)(0)});
RDebugUtils.currentLine=6488068;
 //BA.debugLineNum = 6488068;BA.debugLine="End Sub";
return null;
}
public boolean  _isold(b4a.bbb.nb6 __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="nb6";
if (Debug.shouldDelegate(ba, "isold", false))
	 {return ((Boolean) Debug.delegate(ba, "isold", null));}
RDebugUtils.currentLine=6815744;
 //BA.debugLineNum = 6815744;BA.debugLine="Private Sub IsOld As Boolean";
RDebugUtils.currentLine=6815745;
 //BA.debugLineNum = 6815745;BA.debugLine="Return SupportLevel = S_OLD";
if (true) return __ref._supportlevel /*int*/ ==__ref._s_old /*int*/ ;
RDebugUtils.currentLine=6815746;
 //BA.debugLineNum = 6815746;BA.debugLine="End Sub";
return false;
}
public b4a.bbb.nb6  _bigpicturestyle(b4a.bbb.nb6 __ref,anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _largeiconbmp,anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _picture,Object _contenttitle,Object _summarytext) throws Exception{
__ref = this;
RDebugUtils.currentModule="nb6";
if (Debug.shouldDelegate(ba, "bigpicturestyle", false))
	 {return ((b4a.bbb.nb6) Debug.delegate(ba, "bigpicturestyle", new Object[] {_largeiconbmp,_picture,_contenttitle,_summarytext}));}
RDebugUtils.currentLine=6225920;
 //BA.debugLineNum = 6225920;BA.debugLine="Public Sub BigPictureStyle(LargeIconBmp As Bitmap,";
RDebugUtils.currentLine=6225921;
 //BA.debugLineNum = 6225921;BA.debugLine="If IsBuilder Then";
if (__ref._isbuilder /*boolean*/ (null)) { 
RDebugUtils.currentLine=6225922;
 //BA.debugLineNum = 6225922;BA.debugLine="SetStyle(\"android.app.Notification$BigPictureSty";
__ref._setstyle /*String*/ (null,"android.app.Notification$BigPictureStyle",__c.createMap(new Object[] {(Object)("bigLargeIcon"),(Object)(_largeiconbmp.getObject()),(Object)("bigPicture"),(Object)(_picture.getObject()),(Object)("setBigContentTitle"),_contenttitle,(Object)("setSummaryText"),_summarytext}));
 };
RDebugUtils.currentLine=6225928;
 //BA.debugLineNum = 6225928;BA.debugLine="Return Me";
if (true) return (b4a.bbb.nb6)(this);
RDebugUtils.currentLine=6225929;
 //BA.debugLineNum = 6225929;BA.debugLine="End Sub";
return null;
}
public String  _setstyle(b4a.bbb.nb6 __ref,String _stylename,anywheresoftware.b4a.objects.collections.Map _props) throws Exception{
__ref = this;
RDebugUtils.currentModule="nb6";
if (Debug.shouldDelegate(ba, "setstyle", false))
	 {return ((String) Debug.delegate(ba, "setstyle", new Object[] {_stylename,_props}));}
anywheresoftware.b4j.object.JavaObject _style = null;
String _method = "";
Object _value = null;
RDebugUtils.currentLine=6356992;
 //BA.debugLineNum = 6356992;BA.debugLine="Private Sub SetStyle(StyleName As String, Props As";
RDebugUtils.currentLine=6356993;
 //BA.debugLineNum = 6356993;BA.debugLine="Dim style As JavaObject";
_style = new anywheresoftware.b4j.object.JavaObject();
RDebugUtils.currentLine=6356994;
 //BA.debugLineNum = 6356994;BA.debugLine="style.InitializeNewInstance(StyleName, Null)";
_style.InitializeNewInstance(_stylename,(Object[])(__c.Null));
RDebugUtils.currentLine=6356995;
 //BA.debugLineNum = 6356995;BA.debugLine="For Each method As String In Props.Keys";
{
final anywheresoftware.b4a.BA.IterableList group3 = _props.Keys();
final int groupLen3 = group3.getSize()
;int index3 = 0;
;
for (; index3 < groupLen3;index3++){
_method = BA.ObjectToString(group3.Get(index3));
RDebugUtils.currentLine=6356996;
 //BA.debugLineNum = 6356996;BA.debugLine="Dim value As Object = Props.Get(method)";
_value = _props.Get((Object)(_method));
RDebugUtils.currentLine=6356997;
 //BA.debugLineNum = 6356997;BA.debugLine="If value <> Null Then";
if (_value!= null) { 
RDebugUtils.currentLine=6356998;
 //BA.debugLineNum = 6356998;BA.debugLine="style.RunMethod(method, Array(value))";
_style.RunMethod(_method,new Object[]{_value});
 };
 }
};
RDebugUtils.currentLine=6357001;
 //BA.debugLineNum = 6357001;BA.debugLine="NotificationBuilder.RunMethod(\"setStyle\", Array(s";
__ref._notificationbuilder /*anywheresoftware.b4j.object.JavaObject*/ .RunMethod("setStyle",new Object[]{(Object)(_style.getObject())});
RDebugUtils.currentLine=6357002;
 //BA.debugLineNum = 6357002;BA.debugLine="End Sub";
return "";
}
public b4a.bbb.nb6  _bigtextstyle(b4a.bbb.nb6 __ref,Object _contenttitle,Object _summarytext,Object _text) throws Exception{
__ref = this;
RDebugUtils.currentModule="nb6";
if (Debug.shouldDelegate(ba, "bigtextstyle", false))
	 {return ((b4a.bbb.nb6) Debug.delegate(ba, "bigtextstyle", new Object[] {_contenttitle,_summarytext,_text}));}
RDebugUtils.currentLine=6291456;
 //BA.debugLineNum = 6291456;BA.debugLine="Public Sub BigTextStyle (ContentTitle As Object, S";
RDebugUtils.currentLine=6291457;
 //BA.debugLineNum = 6291457;BA.debugLine="If IsBuilder Then";
if (__ref._isbuilder /*boolean*/ (null)) { 
RDebugUtils.currentLine=6291458;
 //BA.debugLineNum = 6291458;BA.debugLine="SetStyle(\"android.app.Notification$BigTextStyle\"";
__ref._setstyle /*String*/ (null,"android.app.Notification$BigTextStyle",__c.createMap(new Object[] {(Object)("bigText"),_text,(Object)("setBigContentTitle"),_contenttitle,(Object)("setSummaryText"),_summarytext}));
 };
RDebugUtils.currentLine=6291461;
 //BA.debugLineNum = 6291461;BA.debugLine="Return Me";
if (true) return (b4a.bbb.nb6)(this);
RDebugUtils.currentLine=6291462;
 //BA.debugLineNum = 6291462;BA.debugLine="End Sub";
return null;
}
public anywheresoftware.b4a.objects.IntentWrapper  _createintent(b4a.bbb.nb6 __ref,Object _target,boolean _receiver) throws Exception{
__ref = this;
RDebugUtils.currentModule="nb6";
if (Debug.shouldDelegate(ba, "createintent", false))
	 {return ((anywheresoftware.b4a.objects.IntentWrapper) Debug.delegate(ba, "createintent", new Object[] {_target,_receiver}));}
anywheresoftware.b4j.object.JavaObject _in = null;
RDebugUtils.currentLine=6553600;
 //BA.debugLineNum = 6553600;BA.debugLine="Private Sub CreateIntent (Target As Object, Receiv";
RDebugUtils.currentLine=6553601;
 //BA.debugLineNum = 6553601;BA.debugLine="Target = common.RunMethod(\"getComponentClass\", Ar";
_target = __ref._common /*anywheresoftware.b4j.object.JavaObject*/ .RunMethod("getComponentClass",new Object[]{__c.Null,_target,(Object)(_receiver)});
RDebugUtils.currentLine=6553602;
 //BA.debugLineNum = 6553602;BA.debugLine="Dim in As JavaObject";
_in = new anywheresoftware.b4j.object.JavaObject();
RDebugUtils.currentLine=6553603;
 //BA.debugLineNum = 6553603;BA.debugLine="in.InitializeNewInstance(\"android.content.Intent\"";
_in.InitializeNewInstance("android.content.Intent",new Object[]{(Object)(__ref._ctxt /*anywheresoftware.b4j.object.JavaObject*/ .getObject()),_target});
RDebugUtils.currentLine=6553604;
 //BA.debugLineNum = 6553604;BA.debugLine="Return in";
if (true) return (anywheresoftware.b4a.objects.IntentWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.IntentWrapper(), (android.content.Intent)(_in.getObject()));
RDebugUtils.currentLine=6553605;
 //BA.debugLineNum = 6553605;BA.debugLine="End Sub";
return null;
}
public boolean  _ischannel(b4a.bbb.nb6 __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="nb6";
if (Debug.shouldDelegate(ba, "ischannel", false))
	 {return ((Boolean) Debug.delegate(ba, "ischannel", null));}
RDebugUtils.currentLine=6881280;
 //BA.debugLineNum = 6881280;BA.debugLine="Private Sub IsChannel As Boolean";
RDebugUtils.currentLine=6881281;
 //BA.debugLineNum = 6881281;BA.debugLine="Return SupportLevel = S_CHANNEL";
if (true) return __ref._supportlevel /*int*/ ==__ref._s_channel /*int*/ ;
RDebugUtils.currentLine=6881282;
 //BA.debugLineNum = 6881282;BA.debugLine="End Sub";
return false;
}
public String  _class_globals(b4a.bbb.nb6 __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="nb6";
RDebugUtils.currentLine=5046272;
 //BA.debugLineNum = 5046272;BA.debugLine="Sub Class_Globals";
RDebugUtils.currentLine=5046273;
 //BA.debugLineNum = 5046273;BA.debugLine="Private Channel As JavaObject";
_channel = new anywheresoftware.b4j.object.JavaObject();
RDebugUtils.currentLine=5046274;
 //BA.debugLineNum = 5046274;BA.debugLine="Private NotificationBuilder As JavaObject";
_notificationbuilder = new anywheresoftware.b4j.object.JavaObject();
RDebugUtils.currentLine=5046275;
 //BA.debugLineNum = 5046275;BA.debugLine="Private SdkLevel As Int";
_sdklevel = 0;
RDebugUtils.currentLine=5046276;
 //BA.debugLineNum = 5046276;BA.debugLine="Private ctxt As JavaObject";
_ctxt = new anywheresoftware.b4j.object.JavaObject();
RDebugUtils.currentLine=5046277;
 //BA.debugLineNum = 5046277;BA.debugLine="Private const S_OLD = 0, S_BUILDER = 1, S_CHANNEL";
_s_old = (int) (0);
_s_builder = (int) (1);
_s_channel = (int) (2);
RDebugUtils.currentLine=5046278;
 //BA.debugLineNum = 5046278;BA.debugLine="Private SupportLevel As Int";
_supportlevel = 0;
RDebugUtils.currentLine=5046279;
 //BA.debugLineNum = 5046279;BA.debugLine="Private OldNotification As Notification";
_oldnotification = new anywheresoftware.b4a.objects.NotificationWrapper();
RDebugUtils.currentLine=5046280;
 //BA.debugLineNum = 5046280;BA.debugLine="Private PendingIntentStatic As JavaObject";
_pendingintentstatic = new anywheresoftware.b4j.object.JavaObject();
RDebugUtils.currentLine=5046281;
 //BA.debugLineNum = 5046281;BA.debugLine="Private NotificationStatic As JavaObject";
_notificationstatic = new anywheresoftware.b4j.object.JavaObject();
RDebugUtils.currentLine=5046282;
 //BA.debugLineNum = 5046282;BA.debugLine="Private common As JavaObject";
_common = new anywheresoftware.b4j.object.JavaObject();
RDebugUtils.currentLine=5046284;
 //BA.debugLineNum = 5046284;BA.debugLine="End Sub";
return "";
}
public b4a.bbb.nb6  _color(b4a.bbb.nb6 __ref,int _clr) throws Exception{
__ref = this;
RDebugUtils.currentModule="nb6";
if (Debug.shouldDelegate(ba, "color", false))
	 {return ((b4a.bbb.nb6) Debug.delegate(ba, "color", new Object[] {_clr}));}
RDebugUtils.currentLine=5701632;
 //BA.debugLineNum = 5701632;BA.debugLine="Public Sub Color (Clr As Int) As NB6";
RDebugUtils.currentLine=5701633;
 //BA.debugLineNum = 5701633;BA.debugLine="If IsBuilder Then";
if (__ref._isbuilder /*boolean*/ (null)) { 
RDebugUtils.currentLine=5701634;
 //BA.debugLineNum = 5701634;BA.debugLine="NotificationBuilder.RunMethod(\"setColor\", Array(";
__ref._notificationbuilder /*anywheresoftware.b4j.object.JavaObject*/ .RunMethod("setColor",new Object[]{(Object)(_clr)});
 };
RDebugUtils.currentLine=5701636;
 //BA.debugLineNum = 5701636;BA.debugLine="Return Me";
if (true) return (b4a.bbb.nb6)(this);
RDebugUtils.currentLine=5701637;
 //BA.debugLineNum = 5701637;BA.debugLine="End Sub";
return null;
}
public Object  _createiconfrombitmap(b4a.bbb.nb6 __ref,anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _bmp) throws Exception{
__ref = this;
RDebugUtils.currentModule="nb6";
if (Debug.shouldDelegate(ba, "createiconfrombitmap", false))
	 {return ((Object) Debug.delegate(ba, "createiconfrombitmap", new Object[] {_bmp}));}
anywheresoftware.b4j.object.JavaObject _icon = null;
RDebugUtils.currentLine=6684672;
 //BA.debugLineNum = 6684672;BA.debugLine="Private Sub CreateIconFromBitmap(bmp As Bitmap) As";
RDebugUtils.currentLine=6684673;
 //BA.debugLineNum = 6684673;BA.debugLine="If bmp = Null Or bmp.IsInitialized = False Then R";
if (_bmp== null || _bmp.IsInitialized()==__c.False) { 
if (true) return (Object)(0);};
RDebugUtils.currentLine=6684674;
 //BA.debugLineNum = 6684674;BA.debugLine="Dim icon As JavaObject";
_icon = new anywheresoftware.b4j.object.JavaObject();
RDebugUtils.currentLine=6684675;
 //BA.debugLineNum = 6684675;BA.debugLine="Return icon.InitializeStatic(\"android.graphics.dr";
if (true) return _icon.InitializeStatic("android.graphics.drawable.Icon").RunMethod("createWithBitmap",new Object[]{(Object)(_bmp.getObject())});
RDebugUtils.currentLine=6684676;
 //BA.debugLineNum = 6684676;BA.debugLine="End Sub";
return null;
}
public b4a.bbb.nb6  _customsound(b4a.bbb.nb6 __ref,Object _fileprovideruri) throws Exception{
__ref = this;
RDebugUtils.currentModule="nb6";
if (Debug.shouldDelegate(ba, "customsound", false))
	 {return ((b4a.bbb.nb6) Debug.delegate(ba, "customsound", new Object[] {_fileprovideruri}));}
RDebugUtils.currentLine=6094848;
 //BA.debugLineNum = 6094848;BA.debugLine="Public Sub CustomSound (FileProviderUri As Object)";
RDebugUtils.currentLine=6094849;
 //BA.debugLineNum = 6094849;BA.debugLine="If IsOld Then Return Me";
if (__ref._isold /*boolean*/ (null)) { 
if (true) return (b4a.bbb.nb6)(this);};
RDebugUtils.currentLine=6094850;
 //BA.debugLineNum = 6094850;BA.debugLine="ctxt.RunMethod(\"grantUriPermission\", Array(\"com.a";
__ref._ctxt /*anywheresoftware.b4j.object.JavaObject*/ .RunMethod("grantUriPermission",new Object[]{(Object)("com.android.systemui"),_fileprovideruri,(Object)(1)});
RDebugUtils.currentLine=6094851;
 //BA.debugLineNum = 6094851;BA.debugLine="If IsBuilder Then";
if (__ref._isbuilder /*boolean*/ (null)) { 
RDebugUtils.currentLine=6094852;
 //BA.debugLineNum = 6094852;BA.debugLine="NotificationBuilder.RunMethod(\"setSound\", Array(";
__ref._notificationbuilder /*anywheresoftware.b4j.object.JavaObject*/ .RunMethod("setSound",new Object[]{_fileprovideruri,__ref._notificationstatic /*anywheresoftware.b4j.object.JavaObject*/ .GetField("AUDIO_ATTRIBUTES_DEFAULT")});
RDebugUtils.currentLine=6094853;
 //BA.debugLineNum = 6094853;BA.debugLine="If IsChannel Then";
if (__ref._ischannel /*boolean*/ (null)) { 
RDebugUtils.currentLine=6094854;
 //BA.debugLineNum = 6094854;BA.debugLine="Channel.RunMethod(\"setSound\", Array(FileProvide";
__ref._channel /*anywheresoftware.b4j.object.JavaObject*/ .RunMethod("setSound",new Object[]{_fileprovideruri,__ref._notificationstatic /*anywheresoftware.b4j.object.JavaObject*/ .GetField("AUDIO_ATTRIBUTES_DEFAULT")});
 };
 };
RDebugUtils.currentLine=6094857;
 //BA.debugLineNum = 6094857;BA.debugLine="Return Me";
if (true) return (b4a.bbb.nb6)(this);
RDebugUtils.currentLine=6094858;
 //BA.debugLineNum = 6094858;BA.debugLine="End Sub";
return null;
}
public b4a.bbb.nb6  _deleteaction(b4a.bbb.nb6 __ref,Object _service,String _action) throws Exception{
__ref = this;
RDebugUtils.currentModule="nb6";
if (Debug.shouldDelegate(ba, "deleteaction", false))
	 {return ((b4a.bbb.nb6) Debug.delegate(ba, "deleteaction", new Object[] {_service,_action}));}
RDebugUtils.currentLine=5242880;
 //BA.debugLineNum = 5242880;BA.debugLine="Public Sub DeleteAction (Service As Object, Action";
RDebugUtils.currentLine=5242881;
 //BA.debugLineNum = 5242881;BA.debugLine="If IsBuilder Then";
if (__ref._isbuilder /*boolean*/ (null)) { 
RDebugUtils.currentLine=5242882;
 //BA.debugLineNum = 5242882;BA.debugLine="NotificationBuilder.RunMethod(\"setDeleteIntent\",";
__ref._notificationbuilder /*anywheresoftware.b4j.object.JavaObject*/ .RunMethod("setDeleteIntent",new Object[]{__ref._createreceiverpendingintent /*Object*/ (null,_service,_action)});
 };
RDebugUtils.currentLine=5242884;
 //BA.debugLineNum = 5242884;BA.debugLine="Return Me";
if (true) return (b4a.bbb.nb6)(this);
RDebugUtils.currentLine=5242885;
 //BA.debugLineNum = 5242885;BA.debugLine="End Sub";
return null;
}
public b4a.bbb.nb6  _largeicon(b4a.bbb.nb6 __ref,anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _icon) throws Exception{
__ref = this;
RDebugUtils.currentModule="nb6";
if (Debug.shouldDelegate(ba, "largeicon", false))
	 {return ((b4a.bbb.nb6) Debug.delegate(ba, "largeicon", new Object[] {_icon}));}
RDebugUtils.currentLine=5439488;
 //BA.debugLineNum = 5439488;BA.debugLine="Public Sub LargeIcon (Icon As Bitmap) As NB6";
RDebugUtils.currentLine=5439489;
 //BA.debugLineNum = 5439489;BA.debugLine="If IsBuilder Then";
if (__ref._isbuilder /*boolean*/ (null)) { 
RDebugUtils.currentLine=5439490;
 //BA.debugLineNum = 5439490;BA.debugLine="NotificationBuilder.RunMethod(\"setLargeIcon\", Ar";
__ref._notificationbuilder /*anywheresoftware.b4j.object.JavaObject*/ .RunMethod("setLargeIcon",new Object[]{__ref._createiconfrombitmap /*Object*/ (null,_icon)});
 };
RDebugUtils.currentLine=5439492;
 //BA.debugLineNum = 5439492;BA.debugLine="Return Me";
if (true) return (b4a.bbb.nb6)(this);
RDebugUtils.currentLine=5439493;
 //BA.debugLineNum = 5439493;BA.debugLine="End Sub";
return null;
}
public b4a.bbb.nb6  _number(b4a.bbb.nb6 __ref,int _num) throws Exception{
__ref = this;
RDebugUtils.currentModule="nb6";
if (Debug.shouldDelegate(ba, "number", false))
	 {return ((b4a.bbb.nb6) Debug.delegate(ba, "number", new Object[] {_num}));}
RDebugUtils.currentLine=5767168;
 //BA.debugLineNum = 5767168;BA.debugLine="Public Sub Number (Num As Int) As NB6";
RDebugUtils.currentLine=5767169;
 //BA.debugLineNum = 5767169;BA.debugLine="If IsOld Then";
if (__ref._isold /*boolean*/ (null)) { 
RDebugUtils.currentLine=5767170;
 //BA.debugLineNum = 5767170;BA.debugLine="OldNotification.Number = Num";
__ref._oldnotification /*anywheresoftware.b4a.objects.NotificationWrapper*/ .setNumber(_num);
 }else {
RDebugUtils.currentLine=5767172;
 //BA.debugLineNum = 5767172;BA.debugLine="NotificationBuilder.RunMethod(\"setNumber\", Array";
__ref._notificationbuilder /*anywheresoftware.b4j.object.JavaObject*/ .RunMethod("setNumber",new Object[]{(Object)(_num)});
 };
RDebugUtils.currentLine=5767174;
 //BA.debugLineNum = 5767174;BA.debugLine="Return Me";
if (true) return (b4a.bbb.nb6)(this);
RDebugUtils.currentLine=5767175;
 //BA.debugLineNum = 5767175;BA.debugLine="End Sub";
return null;
}
public b4a.bbb.nb6  _oldnotificationicon(b4a.bbb.nb6 __ref,String _resourcename) throws Exception{
__ref = this;
RDebugUtils.currentModule="nb6";
if (Debug.shouldDelegate(ba, "oldnotificationicon", false))
	 {return ((b4a.bbb.nb6) Debug.delegate(ba, "oldnotificationicon", new Object[] {_resourcename}));}
RDebugUtils.currentLine=5308416;
 //BA.debugLineNum = 5308416;BA.debugLine="Public Sub OldNotificationIcon (ResourceName As St";
RDebugUtils.currentLine=5308417;
 //BA.debugLineNum = 5308417;BA.debugLine="If IsOld Then";
if (__ref._isold /*boolean*/ (null)) { 
RDebugUtils.currentLine=5308418;
 //BA.debugLineNum = 5308418;BA.debugLine="OldNotification.Icon = ResourceName";
__ref._oldnotification /*anywheresoftware.b4a.objects.NotificationWrapper*/ .setIcon(_resourcename);
 };
RDebugUtils.currentLine=5308420;
 //BA.debugLineNum = 5308420;BA.debugLine="Return Me";
if (true) return (b4a.bbb.nb6)(this);
RDebugUtils.currentLine=5308421;
 //BA.debugLineNum = 5308421;BA.debugLine="End Sub";
return null;
}
public b4a.bbb.nb6  _onlyalertonce(b4a.bbb.nb6 __ref,boolean _once) throws Exception{
__ref = this;
RDebugUtils.currentModule="nb6";
if (Debug.shouldDelegate(ba, "onlyalertonce", false))
	 {return ((b4a.bbb.nb6) Debug.delegate(ba, "onlyalertonce", new Object[] {_once}));}
RDebugUtils.currentLine=5505024;
 //BA.debugLineNum = 5505024;BA.debugLine="Public Sub OnlyAlertOnce (Once As Boolean) As NB6";
RDebugUtils.currentLine=5505025;
 //BA.debugLineNum = 5505025;BA.debugLine="If IsBuilder Then";
if (__ref._isbuilder /*boolean*/ (null)) { 
RDebugUtils.currentLine=5505026;
 //BA.debugLineNum = 5505026;BA.debugLine="NotificationBuilder.RunMethod(\"setOnlyAlertOnce\"";
__ref._notificationbuilder /*anywheresoftware.b4j.object.JavaObject*/ .RunMethod("setOnlyAlertOnce",new Object[]{(Object)(_once)});
 };
RDebugUtils.currentLine=5505028;
 //BA.debugLineNum = 5505028;BA.debugLine="Return Me";
if (true) return (b4a.bbb.nb6)(this);
RDebugUtils.currentLine=5505029;
 //BA.debugLineNum = 5505029;BA.debugLine="End Sub";
return null;
}
public b4a.bbb.nb6  _progress(b4a.bbb.nb6 __ref,int _value,int _maxvalue,boolean _indeterminate) throws Exception{
__ref = this;
RDebugUtils.currentModule="nb6";
if (Debug.shouldDelegate(ba, "progress", false))
	 {return ((b4a.bbb.nb6) Debug.delegate(ba, "progress", new Object[] {_value,_maxvalue,_indeterminate}));}
RDebugUtils.currentLine=5898240;
 //BA.debugLineNum = 5898240;BA.debugLine="Public Sub Progress (Value As Int, MaxValue As Int";
RDebugUtils.currentLine=5898241;
 //BA.debugLineNum = 5898241;BA.debugLine="If IsBuilder Then";
if (__ref._isbuilder /*boolean*/ (null)) { 
RDebugUtils.currentLine=5898242;
 //BA.debugLineNum = 5898242;BA.debugLine="NotificationBuilder.RunMethod(\"setProgress\", Arr";
__ref._notificationbuilder /*anywheresoftware.b4j.object.JavaObject*/ .RunMethod("setProgress",new Object[]{(Object)(_maxvalue),(Object)(_value),(Object)(_indeterminate)});
 };
RDebugUtils.currentLine=5898244;
 //BA.debugLineNum = 5898244;BA.debugLine="Return Me";
if (true) return (b4a.bbb.nb6)(this);
RDebugUtils.currentLine=5898245;
 //BA.debugLineNum = 5898245;BA.debugLine="End Sub";
return null;
}
public b4a.bbb.nb6  _showwhen(b4a.bbb.nb6 __ref,long _time) throws Exception{
__ref = this;
RDebugUtils.currentModule="nb6";
if (Debug.shouldDelegate(ba, "showwhen", false))
	 {return ((b4a.bbb.nb6) Debug.delegate(ba, "showwhen", new Object[] {_time}));}
RDebugUtils.currentLine=5832704;
 //BA.debugLineNum = 5832704;BA.debugLine="Public Sub ShowWhen (Time As Long) As NB6";
RDebugUtils.currentLine=5832705;
 //BA.debugLineNum = 5832705;BA.debugLine="If IsBuilder Then";
if (__ref._isbuilder /*boolean*/ (null)) { 
RDebugUtils.currentLine=5832706;
 //BA.debugLineNum = 5832706;BA.debugLine="NotificationBuilder.RunMethod(\"setShowWhen\", Arr";
__ref._notificationbuilder /*anywheresoftware.b4j.object.JavaObject*/ .RunMethod("setShowWhen",new Object[]{(Object)(__c.True)});
RDebugUtils.currentLine=5832707;
 //BA.debugLineNum = 5832707;BA.debugLine="NotificationBuilder.RunMethod(\"setWhen\", Array(T";
__ref._notificationbuilder /*anywheresoftware.b4j.object.JavaObject*/ .RunMethod("setWhen",new Object[]{(Object)(_time)});
 };
RDebugUtils.currentLine=5832709;
 //BA.debugLineNum = 5832709;BA.debugLine="Return Me";
if (true) return (b4a.bbb.nb6)(this);
RDebugUtils.currentLine=5832710;
 //BA.debugLineNum = 5832710;BA.debugLine="End Sub";
return null;
}
public b4a.bbb.nb6  _subtext(b4a.bbb.nb6 __ref,Object _text) throws Exception{
__ref = this;
RDebugUtils.currentModule="nb6";
if (Debug.shouldDelegate(ba, "subtext", false))
	 {return ((b4a.bbb.nb6) Debug.delegate(ba, "subtext", new Object[] {_text}));}
RDebugUtils.currentLine=5963776;
 //BA.debugLineNum = 5963776;BA.debugLine="Public Sub SubText (Text As Object) As NB6";
RDebugUtils.currentLine=5963777;
 //BA.debugLineNum = 5963777;BA.debugLine="If IsBuilder Then";
if (__ref._isbuilder /*boolean*/ (null)) { 
RDebugUtils.currentLine=5963778;
 //BA.debugLineNum = 5963778;BA.debugLine="NotificationBuilder.RunMethod(\"setSubText\", Arra";
__ref._notificationbuilder /*anywheresoftware.b4j.object.JavaObject*/ .RunMethod("setSubText",new Object[]{_text});
 };
RDebugUtils.currentLine=5963780;
 //BA.debugLineNum = 5963780;BA.debugLine="Return Me";
if (true) return (b4a.bbb.nb6)(this);
RDebugUtils.currentLine=5963781;
 //BA.debugLineNum = 5963781;BA.debugLine="End Sub";
return null;
}
public b4a.bbb.nb6  _visibility(b4a.bbb.nb6 __ref,String _value) throws Exception{
__ref = this;
RDebugUtils.currentModule="nb6";
if (Debug.shouldDelegate(ba, "visibility", false))
	 {return ((b4a.bbb.nb6) Debug.delegate(ba, "visibility", new Object[] {_value}));}
anywheresoftware.b4a.objects.collections.Map _m = null;
int _i = 0;
RDebugUtils.currentLine=6160384;
 //BA.debugLineNum = 6160384;BA.debugLine="Public Sub Visibility (Value As String) As NB6";
RDebugUtils.currentLine=6160385;
 //BA.debugLineNum = 6160385;BA.debugLine="If IsBuilder Then";
if (__ref._isbuilder /*boolean*/ (null)) { 
RDebugUtils.currentLine=6160386;
 //BA.debugLineNum = 6160386;BA.debugLine="Dim m As Map = CreateMap(\"PUBLIC\": 1, \"SECRET\":";
_m = new anywheresoftware.b4a.objects.collections.Map();
_m = __c.createMap(new Object[] {(Object)("PUBLIC"),(Object)(1),(Object)("SECRET"),(Object)(-1),(Object)("PRIVATE"),(Object)(0)});
RDebugUtils.currentLine=6160387;
 //BA.debugLineNum = 6160387;BA.debugLine="Dim i As Int = m.Get(Value)";
_i = (int)(BA.ObjectToNumber(_m.Get((Object)(_value))));
RDebugUtils.currentLine=6160388;
 //BA.debugLineNum = 6160388;BA.debugLine="NotificationBuilder.RunMethod(\"setVisibility\", A";
__ref._notificationbuilder /*anywheresoftware.b4j.object.JavaObject*/ .RunMethod("setVisibility",new Object[]{(Object)(_i)});
 };
RDebugUtils.currentLine=6160390;
 //BA.debugLineNum = 6160390;BA.debugLine="Return Me";
if (true) return (b4a.bbb.nb6)(this);
RDebugUtils.currentLine=6160391;
 //BA.debugLineNum = 6160391;BA.debugLine="End Sub";
return null;
}
}