public interface OobNotificationManager
OobNotificationProfile
objects. Each notification profile contains a channel (SMS, Push, email,
etc.) and an end point attached to that channel (for example an email address for the case of an email channel).| Modifier and Type | Method and Description |
|---|---|
OobResponse |
clearNotificationProfiles()
Clears (remove all) the current client notification profiles.
|
void |
clearNotificationProfiles(OobClearNotificationProfileCallback callback)
Clears (remove all) the current client notification profiles.
|
void |
clearNotificationProfiles(OobClearNotificationProfileCallback callback,
OobRequestParameter requestParameter)
Clears (remove all) the current client notification profiles.
|
OobResponse |
clearNotificationProfiles(OobRequestParameter requestParameter)
Sets the notification profile of the current client to the given list.
|
OobNotificationProfilesResponse |
getNotificationProfiles()
Retrieves the notification profile from the server, which contains the list of all notification end point
associated with the current client.
|
void |
getNotificationProfiles(OobGetNotificationProfileCallback callback)
Retrieves the notification profile (the list of all notification profiles associated with the current client)
from the server.
|
void |
getNotificationProfiles(OobGetNotificationProfileCallback callback,
OobRequestParameter requestParameter)
Retrieves the notification profile (the list of all notification profiles associated with the current client)
from the server.
|
OobNotificationProfilesResponse |
getNotificationProfiles(OobRequestParameter requestParameter)
Retrieves the notification profile from the server, which contains the list of all notification end point
associated with the current client.
|
OobResponse |
setNotificationProfiles(java.util.List<OobNotificationProfile> notificationProfiles)
Sets the notification profile of the current client to the given list.
|
OobResponse |
setNotificationProfiles(java.util.List<OobNotificationProfile> notificationProfiles,
OobRequestParameter requestParameter)
Sets the notification profile of the current client to the given list.
|
void |
setNotificationProfiles(java.util.List<OobNotificationProfile> notificationProfiles,
OobSetNotificationProfileCallback callback)
Sets the notification profile of the current client to the given list.
|
void |
setNotificationProfiles(java.util.List<OobNotificationProfile> notificationProfiles,
OobSetNotificationProfileCallback callback,
OobRequestParameter oobRequestParameter)
Sets the notification profile of the current client to the given list.
|
OobNotificationProfilesResponse getNotificationProfiles()
Retrieves the notification profile from the server, which contains the list of all notification end point associated with the current client.
This method is long running and should not be executed on the UI thread.
OobNotificationProfilesResponse getNotificationProfiles(OobRequestParameter requestParameter)
Retrieves the notification profile from the server, which contains the list of all notification end point associated with the current client.
This method is long running and should not be executed on the UI thread.
requestParameter
- The request object carrying all the data required by the OOBS in order to register the user to it.java.lang.IllegalArgumentException
- When the collection of headers passed in is null, or adding a header prohibited in the headers
customization or containing illegal characters.OobResponse setNotificationProfiles(java.util.List<OobNotificationProfile> notificationProfiles)
Sets the notification profile of the current client to the given list. If a previous profile was already set, it will be replaced with this new list. If a null list is provided, the notification profile will be cleared.
This method is long running and should not be executed on the UI thread.
notificationProfiles
- a list of one or more notification profiles to set as the new notification profile. Setting this
to null is equivalent to calling clearNotificationProfiles()
.OobResponse setNotificationProfiles(java.util.List<OobNotificationProfile> notificationProfiles, OobRequestParameter requestParameter)
Sets the notification profile of the current client to the given list. If a previous profile was already set, it will be replaced with this new list. If a null list is provided, the notification profile will be cleared.
This method is long running and should not be executed on the UI thread.
notificationProfiles
- The list of one or more notification profiles to set as the new notification profile. Setting this
to null is equivalent to calling clearNotificationProfiles()
or clearNotificationProfiles(OobRequestParameter)
.requestParameter
- Request object carrying all the data required by the OOBS in order to register the user to it.java.lang.IllegalArgumentException
- When the collection of headers passed in is null, or adding a header prohibited in the headers
customization or containing illegal characters.OobResponse clearNotificationProfiles()
Clears (remove all) the current client notification profiles. This will leaves the client with no notification profile.
This method is long running and should not be executed on the UI thread.
OobResponse clearNotificationProfiles(OobRequestParameter requestParameter)
Sets the notification profile of the current client to the given list. If a previous profile was already set, it will be replaced with this new list. If a null list is provided, the notification profile will be cleared.
This method is long running and should not be executed on the UI thread.
requestParameter
- Request object carrying the custom header.java.lang.IllegalArgumentException
- When the collection of headers passed in is null, or adding a header prohibited in the headers
customization or containing illegal characters.void getNotificationProfiles(OobGetNotificationProfileCallback callback)
Retrieves the notification profile (the list of all notification profiles associated with the current client) from the server.
This method is executed asynchronously and the result will be posted in the provided callback interface. The callback will be done in the UI thread.
callback
- The object that will be use to post the result to the UI thread.void getNotificationProfiles(OobGetNotificationProfileCallback callback, OobRequestParameter requestParameter)
Retrieves the notification profile (the list of all notification profiles associated with the current client) from the server.
This method is executed asynchronously and the result will be posted in the provided callback interface. The callback will be done in the UI thread.
callback
- The object that will be use to post the result to the UI thread.requestParameter
- Request object carrying the custom header.java.lang.IllegalArgumentException
- When the collection of headers passed in is null, or adding a header prohibited in the headers
customization or containing illegal characters.void setNotificationProfiles(java.util.List<OobNotificationProfile> notificationProfiles, OobSetNotificationProfileCallback callback)
Sets the notification profile of the current client to the given list. If a previous profile was already set, it will be replaced with this new
This method is executed asynchronously and the result will be posted in the provided callback interface. The callback will be done in the UI thread. If a null list is provided, the notification profile will be cleared.
notificationProfiles
- A list of one ore more notification profiles to set. Setting this to null is equivalent to
calling or {@link #clearNotificationProfiles(OobRequestParameter)}
.callback
- The object that will be use to post the result to the UI thread.void setNotificationProfiles(java.util.List<OobNotificationProfile> notificationProfiles, OobSetNotificationProfileCallback callback, OobRequestParameter oobRequestParameter)
Sets the notification profile of the current client to the given list. If a previous profile was already set, it will be replaced with this new
This method is executed asynchronously and the result will be posted in the provided callback interface. The callback will be done in the UI thread. If a null list is provided, the notification profile will be cleared.
notificationProfiles
- A list of one ore more notification profiles to set. Setting this to null is equivalent to
calling or {@link #clearNotificationProfiles(OobRequestParameter)}
.callback
- The object that will be use to post the result to the UI thread.oobRequestParameter
- Request object carrying the custom header.java.lang.IllegalArgumentException
- When the collection of headers passed in is null, or adding a header prohibited in the headers
customization or containing illegal characters.void clearNotificationProfiles(OobClearNotificationProfileCallback callback)
Clears (remove all) the current client notification profiles. This will leaves the client with no notification profile.
This method is executed asynchronously and the result will be posted in the provided callback interface. The callback will be done in the UI thread.
callback
- The object that will be use to post the result to the UI thread.void clearNotificationProfiles(OobClearNotificationProfileCallback callback, OobRequestParameter requestParameter)
Clears (remove all) the current client notification profiles. This will leaves the client with no notification profile.
This method is executed asynchronously and the result will be posted in the provided callback interface. The callback will be done in the UI thread.
callback
- The object that will be use to post the result to the UI thread.requestParameter
- Request object carrying the custom header.java.lang.IllegalArgumentException
- When the collection of headers passed in is null, or adding a header prohibited in the headers
customization or containing illegal characters.


About Me
Hi! My name is Josh and I recently started school at the University of Miami Coding Bootcamp! I've just recently gotten into coding and have created what you see thus far on this page. I started my coding journey on my own, working with python from free online resources, but have since expanded my knowledge to include html and css.
I'm very excited to share my website with all of you and show you all my front end development capabilities and possibly showing you all the progress I'm capable of making!


by Vincent Visconti
Sign Out
Login
Google
Github
Train Tracker
Train Tracker: Schedule
Train Name
Destination
Frequency
Next Arrival
Minutes Away
Train Tracker: Add a Train
Train Name:
Destination:
First Train Time: (Military)
Frequency: (Minutes)
×
Edit Train Information
Train Name:
Destination:
First Train Time: (Military)
Frequency: (Minutes)
×
Delete Train Record
Train Name:
Destination:
First Train Time: (Military)
Frequency: (Minutes)
×
Warning


A demo of swarm-persist's localstorage features.
It is now unknown time
Last persisted never persist now


Former cop jailed for drug offences and housebreaking, claims police mistreated him
by Lydia LamSINGAPORE: A former police officer was sentenced to one year and 11 months' jail on Thursday (Nov 21) for multiple offences, including drug-related charges, breaking into his neighbour's house and trying to set it on fire.
While awaiting bail, Tan Yan Chong, 35, cursed at an officer for asking him to change into prison clothing that he said was transparent.
Tan, who was unrepresented, also complained in court about police mistreatment, prompting the judge to question him on how that was a relevant mitigating factor.
He pleaded guilty to seven charges, mostly drug-related, with another 16 charges taken into consideration.
A police spokesperson told CNA that Tan was with the Singapore Police Force and resigned in 2008 when he was a corporal.
Tan was first arrested on Apr 5 last year after his neighbour, Mr Wong Soon Yuh, called the police to say that Tan had broken into his home.
At about 6am that morning, Tan climbed from his balcony into his neighbour's, with the noise waking up Mr Wong and his girlfriend.
Seeing that Tan was trying to pry open the glass doors into his home, Mr Wong went to him and asked him what he was doing.
Tan claimed that Mr Wong's girlfriend had installed closed-circuit television cameras in Tan's home in order to monitor his movements.
After talking to Mr Wong, Tan climbed back into his unit. He was arrested later that morning, said Deputy Public Prosecutor Magdalene Huang.
It emerged later that Tan had also called the police three hours before breaking into Mr Wong's house and told the police that his neighbour's girlfriend had admitted to installing CCTV cameras in his house.
ARRESTED FOR HOUSEBREAKING, DRUGS FOUND IN HIS HOMES
After his arrest for housebreaking, Tan was taken to police lock-up and later escorted back to his home by Central Narcotics Bureau (CNB), where a search uncovered several packets of crystalline substances.
More packets of crystalline substances and tablets were found in another home registered as Tan's official address.
The seized packets were found to contain methamphetamine, and Tan's urine samples showed that he had consumed meth.
Other drugs found in his possession included Class A controlled substances MDMA and ketamine.
He admitted taking the drugs and said he bought the meth about five times from a person known only as Apple. He also admitted that he had previously sold and given the drugs to other users.
COMPLAINS ABOUT PRISON CLOTHING WHILE AWAITING BAIL
While awaiting bail at Changi Prison Complex Cluster B on Apr 19 last year, Tan cursed at an officer for asking him to change into prison clothing that he felt was transparent.
The officer explained to him that the clothes were standard issue, and Tan shouted "f*** you" at him.
The officer told him to be careful about the words he used, and Tan repeated "f*** you" at him in a softer voice.
After Tan was released on bail, he went back home and again targeted his neighbour Mr Wong.
At about 3pm on Apr 28 last year, he squatted along the corridor in front of Mr Wong's front door and used duct tape to seal the edges of the door.
His actions were seen by another neighbour, who had heard sounds coming from the corridor and looked through the peephole from her unit.
ANOTHER NEIGHBOUR CALLS POLICE AFTER SEEING HIM LIGHTING FIRE
Three hours later at 6pm, she saw Tan set a roll of paper on fire and brush it against Mr Wong's main door. He also sprayed what the eyewitness believed to be aerosol on the door.
She called the police and Tan was arrested again.
When Mr Wong returned home, accompanied by the police, they discovered soil mixed with glass shards that had been shoved under the door.
The prosecution on Thursday asked the judge to sentence Tan to 23 months' jail.
In a previous hearing under a different judge, the court had heard that Tan was a former police officer, although no further details were provided.
TAN COMPLAINS ABOUT BEING "MANHANDLED" BY POLICE
Tan alleged in court that he had not been arrested via proper procedures.
"I have submitted complaints to the division for the way they handled me during arrest," said Tan before District Judge Salina Ishak on Thursday.
"Ten to 12 officers manhandling me, when I was just ... on the sofa."
He added that this was his first offence and that another judge had disclosed his medical condition to an open court, when his family had not known about it.
He said he had no legal representation and had gone to the State Courts library to do some research.
"I also (sought) self-admission to Tan Tock Seng Hospital for my drug issues before being caught, and I was told that would be a good mitigating factor," he said.
The judge asked him how his complaints against the police were mitigating factors, and told him that he should take it up separately if he had any issues or complaints.
She backdated his sentence to the date of his remand on Aug 2 this year and granted his request to speak to his parents after the hearing.


Philanthropy Starts with Ordinary People
Jenny Lu - 1 November, 2017
For this week’s blog post, I wanted to share a TED Talk I recently listened to about how philanthropy starts with ordinary people – me and you.
Katherine Fulton talks about how philanthropy is the giving of time and talent, not just money. When people think of philanthropy, they often think that it’s the giving of money that matters. After all, money is tangible – and it makes tangible impacts too. I remember participating in my first Model United Nations assembly when I was in high school and I felt as if every resolution led to the question: “Where do we get these funds?” I’ve come to know that philanthropy is so much more than just that question.  It takes time, talent and leadership to create a future where our hope for the world becomes a reality. I think Katherine puts it best when she says that “We’re going to need a new generation of citizen leaders willing to commit ourselves to growing and changing and learning as rapidly as possible”. That is our generation and we can make an impact.


Doge social network
Here you can find friends or stalk strangers.
The Doge Social Network does not take responsibility for the information found.