예제 #1
0
 public void onTransferUpdate(MegaApi api, MegaTransfer transfer) {
   if (getClass() == MegaListener.class)
     megaJNI.MegaListener_onTransferUpdate(
         swigCPtr, this, MegaApi.getCPtr(api), api, MegaTransfer.getCPtr(transfer), transfer);
   else
     megaJNI.MegaListener_onTransferUpdateSwigExplicitMegaListener(
         swigCPtr, this, MegaApi.getCPtr(api), api, MegaTransfer.getCPtr(transfer), transfer);
 }
예제 #2
0
 public void onTransferTemporaryError(MegaApi api, MegaTransfer transfer, MegaError error) {
   if (getClass() == MegaListener.class)
     megaJNI.MegaListener_onTransferTemporaryError(
         swigCPtr,
         this,
         MegaApi.getCPtr(api),
         api,
         MegaTransfer.getCPtr(transfer),
         transfer,
         MegaError.getCPtr(error),
         error);
   else
     megaJNI.MegaListener_onTransferTemporaryErrorSwigExplicitMegaListener(
         swigCPtr,
         this,
         MegaApi.getCPtr(api),
         api,
         MegaTransfer.getCPtr(transfer),
         transfer,
         MegaError.getCPtr(error),
         error);
 }