public virtual int[] getAppWidgetIds(android.content.ComponentName provider) { android.os.Parcel _data = android.os.Parcel.obtain(); android.os.Parcel _reply = android.os.Parcel.obtain(); int[] _result; try { _data.writeInterfaceToken(DESCRIPTOR); if ((provider != null)) { _data.writeInt(1); provider.writeToParcel(_data, 0); } else { _data.writeInt(0); } mRemote.transact(android.appwidget.@internal.IAppWidgetServiceClass.Stub.TRANSACTION_getAppWidgetIds , _data, _reply, 0); _reply.readException(); _result = _reply.createIntArray(); } finally { _reply.recycle(); _data.recycle(); } return(_result); }
public virtual void bindAppWidgetId(int appWidgetId, android.content.ComponentName provider) { android.os.Parcel _data = android.os.Parcel.obtain(); android.os.Parcel _reply = android.os.Parcel.obtain(); try { _data.writeInterfaceToken(DESCRIPTOR); _data.writeInt(appWidgetId); if ((provider != null)) { _data.writeInt(1); provider.writeToParcel(_data, 0); } else { _data.writeInt(0); } mRemote.transact(android.appwidget.@internal.IAppWidgetServiceClass.Stub.TRANSACTION_bindAppWidgetId , _data, _reply, 0); _reply.readException(); } finally { _reply.recycle(); _data.recycle(); } }