Sha256: 6d510000b2177d46c0b6f24ccb2581c73ad1187a3b29ba1d1476b3b75ac506e9

Contents?: true

Size: 907 Bytes

Versions: 1

Compression:

Stored size: 907 Bytes

Contents

package com.rho.push;

import java.util.List;
import java.util.Map;

import com.rhomobile.rhodes.api.IMethodResult;

import com.rhomobile.rhodes.api.RhoApiDefaultId;

public abstract class PushSingletonBase 
    extends RhoApiDefaultId<IPush, IPushFactory>  {

    public PushSingletonBase(IPushFactory factory) {
        super(factory);
    } 

    public static class enumerateTask implements Runnable {
        private IPushSingleton mApiSingleton; 
        private IMethodResult mResult;

        public enumerateTask(IPushSingleton obj,         
                IMethodResult result) {
            this.mApiSingleton = obj;         
            this.mResult = result;
        }

        @Override
        public void run() {
            try {
                mApiSingleton.enumerate( mResult);
            } catch (Throwable ex) {
                mResult.set(ex);
            }
        }
    }

    
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tauplatform-1.0.1 lib/commonAPI/coreapi/ext/platform/android/generated/src/com/rho/push/PushSingletonBase.java