edu.washington.cs.sounddetector.server.api.methodresult
Class UnregisterReceiverPhoneResult
java.lang.Object
edu.washington.cs.sounddetector.server.api.MethodResult<UnregisterReceiverPhone>
edu.washington.cs.sounddetector.server.api.methodresult.UnregisterReceiverPhoneResult
public class UnregisterReceiverPhoneResult
- extends MethodResult<UnregisterReceiverPhone>
getPhoneId
public String getPhoneId()
- Returns:
- if
MethodResult.isSuccessful()
== true, returns null, otherwise returns the phoneId of
the phone that failed to be unregistered.
success
public static UnregisterReceiverPhoneResult success()
failurePhoneDoesNotExist
public static UnregisterReceiverPhoneResult failurePhoneDoesNotExist(String phoneId)
Copyright © 2012. All Rights Reserved.