Delete Object

No needs anymore for an Object? Just delete it already!

Simple way

import com.parse.ParseObject;

public void deleteObject(ParseObject object)
{
    object.deleteInBackground();
}

With Callback

import com.parse.ParseObject;
import com.parse.DeleteCallback;
import com.parse.ParseException;


public void deleteObject(ParseObject object)
{
    object.deleteInBackground(new DeleteCallback() 
    {
        @Override
        public void done(ParseException e)
        {
            
        }
    });
}

Last updated