本文整理汇总了C#中android.readStrongBinder方法的典型用法代码示例。如果您正苦于以下问题:C# android.readStrongBinder方法的具体用法?C# android.readStrongBinder怎么用?C# android.readStrongBinder使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类android
的用法示例。
在下文中一共展示了android.readStrongBinder方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: onTransact
protected internal override bool onTransact(int code, android.os.Parcel data, android.os.Parcel
reply, int flags)
{
switch (code)
{
case android.os.IBinderClass.INTERFACE_TRANSACTION:
{
reply.writeString(DESCRIPTOR);
return true;
}
case TRANSACTION_startUi:
{
data.enforceInterface(DESCRIPTOR);
android.os.IBinder _arg0;
_arg0 = data.readStrongBinder();
int _arg1;
_arg1 = data.readInt();
int _arg2;
_arg2 = data.readInt();
int _arg3;
_arg3 = data.readInt();
int _arg4;
_arg4 = data.readInt();
this.startUi(_arg0, _arg1, _arg2, _arg3, _arg4);
reply.writeNoException();
return true;
}
case TRANSACTION_stopUi:
{
data.enforceInterface(DESCRIPTOR);
this.stopUi();
reply.writeNoException();
return true;
}
case TRANSACTION_registerCallback:
{
data.enforceInterface(DESCRIPTOR);
[email protected] _arg0;
_arg0 = [email protected](data.readStrongBinder
());
this.registerCallback(_arg0);
reply.writeNoException();
return true;
}
case TRANSACTION_unregisterCallback:
{
data.enforceInterface(DESCRIPTOR);
[email protected] _arg0;
_arg0 = [email protected](data.readStrongBinder
());
this.unregisterCallback(_arg0);
reply.writeNoException();
return true;
}
}
return base.onTransact(code, data, reply, flags);
}
示例2: onTransact
protected internal override bool onTransact(int code, android.os.Parcel data, android.os.Parcel
reply, int flags)
{
switch (code)
{
case android.os.IBinderClass.INTERFACE_TRANSACTION:
{
reply.writeString(DESCRIPTOR);
return true;
}
case TRANSACTION_startListening:
{
data.enforceInterface(DESCRIPTOR);
[email protected] _arg0;
_arg0 = [email protected](data.readStrongBinder
());
string _arg1;
_arg1 = data.readString();
int _arg2;
_arg2 = data.readInt();
java.util.List<android.widget.RemoteViews> _arg3;
_arg3 = new java.util.ArrayList<android.widget.RemoteViews>();
int[] _result = this.startListening(_arg0, _arg1, _arg2, _arg3);
reply.writeNoException();
reply.writeIntArray(_result);
reply.writeTypedList(_arg3);
return true;
}
case TRANSACTION_stopListening:
{
data.enforceInterface(DESCRIPTOR);
int _arg0;
_arg0 = data.readInt();
this.stopListening(_arg0);
reply.writeNoException();
return true;
}
case TRANSACTION_allocateAppWidgetId:
{
data.enforceInterface(DESCRIPTOR);
string _arg0;
_arg0 = data.readString();
int _arg1;
_arg1 = data.readInt();
int _result = this.allocateAppWidgetId(_arg0, _arg1);
reply.writeNoException();
reply.writeInt(_result);
return true;
}
case TRANSACTION_deleteAppWidgetId:
{
data.enforceInterface(DESCRIPTOR);
int _arg0;
_arg0 = data.readInt();
this.deleteAppWidgetId(_arg0);
reply.writeNoException();
return true;
}
case TRANSACTION_deleteHost:
{
data.enforceInterface(DESCRIPTOR);
int _arg0;
_arg0 = data.readInt();
this.deleteHost(_arg0);
reply.writeNoException();
return true;
}
case TRANSACTION_deleteAllHosts:
{
data.enforceInterface(DESCRIPTOR);
this.deleteAllHosts();
reply.writeNoException();
return true;
}
case TRANSACTION_getAppWidgetViews:
{
data.enforceInterface(DESCRIPTOR);
int _arg0;
_arg0 = data.readInt();
android.widget.RemoteViews _result = this.getAppWidgetViews(_arg0);
reply.writeNoException();
if ((_result != null))
{
reply.writeInt(1);
_result.writeToParcel(reply, android.os.ParcelableClass.PARCELABLE_WRITE_RETURN_VALUE
);
}
else
{
reply.writeInt(0);
}
return true;
}
//.........这里部分代码省略.........
示例3: onTransact
protected internal override bool onTransact(int code, android.os.Parcel data, android.os.Parcel
reply, int flags)
{
switch (code)
{
case android.os.IBinderClass.INTERFACE_TRANSACTION:
{
reply.writeString(DESCRIPTOR);
return true;
}
case TRANSACTION_onServiceConnected:
{
data.enforceInterface(DESCRIPTOR);
android.os.IBinder _arg0;
_arg0 = data.readStrongBinder();
this.onServiceConnected(_arg0);
reply.writeNoException();
return true;
}
case TRANSACTION_onServiceDisconnected:
{
data.enforceInterface(DESCRIPTOR);
this.onServiceDisconnected();
reply.writeNoException();
return true;
}
}
return base.onTransact(code, data, reply, flags);
}
示例4: onTransact
protected internal override bool onTransact(int code, android.os.Parcel data, android.os.Parcel
reply, int flags)
{
switch (code)
{
case android.os.IBinderClass.INTERFACE_TRANSACTION:
{
reply.writeString(DESCRIPTOR);
return true;
}
case TRANSACTION_setIcon:
{
data.enforceInterface(DESCRIPTOR);
int _arg0;
_arg0 = data.readInt();
[email protected] _arg1;
if ((0 != data.readInt()))
{
_arg1 = [email protected]el(data);
}
else
{
_arg1 = null;
}
this.setIcon(_arg0, _arg1);
return true;
}
case TRANSACTION_removeIcon:
{
data.enforceInterface(DESCRIPTOR);
int _arg0;
_arg0 = data.readInt();
this.removeIcon(_arg0);
return true;
}
case TRANSACTION_addNotification:
{
data.enforceInterface(DESCRIPTOR);
android.os.IBinder _arg0;
_arg0 = data.readStrongBinder();
[email protected] _arg1;
if ((0 != data.readInt()))
{
_arg1 = [email protected]FromParcel
(data);
}
else
{
_arg1 = null;
}
this.addNotification(_arg0, _arg1);
return true;
}
case TRANSACTION_updateNotification:
{
data.enforceInterface(DESCRIPTOR);
android.os.IBinder _arg0;
_arg0 = data.readStrongBinder();
[email protected] _arg1;
if ((0 != data.readInt()))
{
_arg1 = [email protected]FromParcel
(data);
}
else
{
_arg1 = null;
}
this.updateNotification(_arg0, _arg1);
return true;
}
case TRANSACTION_removeNotification:
{
data.enforceInterface(DESCRIPTOR);
android.os.IBinder _arg0;
_arg0 = data.readStrongBinder();
this.removeNotification(_arg0);
return true;
}
case TRANSACTION_disable:
{
data.enforceInterface(DESCRIPTOR);
int _arg0;
_arg0 = data.readInt();
this.disable(_arg0);
return true;
}
case TRANSACTION_animateExpand:
{
data.enforceInterface(DESCRIPTOR);
this.animateExpand();
return true;
}
//.........这里部分代码省略.........
示例5: onTransact
protected internal override bool onTransact(int code, android.os.Parcel data, android.os.Parcel
reply, int flags)
{
switch (code)
{
case android.os.IBinderClass.INTERFACE_TRANSACTION:
{
reply.writeString(DESCRIPTOR);
return true;
}
case TRANSACTION_expand:
{
data.enforceInterface(DESCRIPTOR);
this.expand();
reply.writeNoException();
return true;
}
case TRANSACTION_collapse:
{
data.enforceInterface(DESCRIPTOR);
this.collapse();
reply.writeNoException();
return true;
}
case TRANSACTION_disable:
{
data.enforceInterface(DESCRIPTOR);
int _arg0;
_arg0 = data.readInt();
android.os.IBinder _arg1;
_arg1 = data.readStrongBinder();
string _arg2;
_arg2 = data.readString();
this.disable(_arg0, _arg1, _arg2);
reply.writeNoException();
return true;
}
case TRANSACTION_setIcon:
{
data.enforceInterface(DESCRIPTOR);
string _arg0;
_arg0 = data.readString();
string _arg1;
_arg1 = data.readString();
int _arg2;
_arg2 = data.readInt();
int _arg3;
_arg3 = data.readInt();
string _arg4;
_arg4 = data.readString();
this.setIcon(_arg0, _arg1, _arg2, _arg3, _arg4);
reply.writeNoException();
return true;
}
case TRANSACTION_setIconVisibility:
{
data.enforceInterface(DESCRIPTOR);
string _arg0;
_arg0 = data.readString();
bool _arg1;
_arg1 = (0 != data.readInt());
this.setIconVisibility(_arg0, _arg1);
reply.writeNoException();
return true;
}
case TRANSACTION_removeIcon:
{
data.enforceInterface(DESCRIPTOR);
string _arg0;
_arg0 = data.readString();
this.removeIcon(_arg0);
reply.writeNoException();
return true;
}
case TRANSACTION_topAppWindowChanged:
{
data.enforceInterface(DESCRIPTOR);
bool _arg0;
_arg0 = (0 != data.readInt());
this.topAppWindowChanged(_arg0);
reply.writeNoException();
return true;
}
case TRANSACTION_setImeWindowStatus:
{
data.enforceInterface(DESCRIPTOR);
android.os.IBinder _arg0;
_arg0 = data.readStrongBinder();
int _arg1;
_arg1 = data.readInt();
int _arg2;
_arg2 = data.readInt();
//.........这里部分代码省略.........