Android Open Source - SCalendar Calendar Connection Data






From Project

Back to project page SCalendar.

License

The source code is released under:

Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCT...

If you think the Android project SCalendar listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

/* 
   Copyright 2012 John Oliver/*from  w  ww  .  j  ava  2  s .c om*/

   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.
*/

package sc.calendar.dataSource.googleApi;

import java.io.Serializable;

public class CalendarConnectionData implements Serializable {
  private static final long serialVersionUID = 1L;
  private final String accountName;
  private final String authToken;

  public CalendarConnectionData(String accountName, String authToken) {
    super();
    this.accountName = accountName;
    this.authToken = authToken;
  }

  public String getAccountName() {
    return accountName;
  }

  public String getAuthToken() {
    return authToken;
  }

}




Java Source Code List

sc.calendar.SCalConstants.java
sc.calendar.SCalendarActivity.java
sc.calendar.dataSource.AndroidCalendar.java
sc.calendar.dataSource.CalendarEvent.java
sc.calendar.dataSource.PollCalendar.java
sc.calendar.dataSource.googleApi.CalendarAuthTokenResolver.java
sc.calendar.dataSource.googleApi.CalendarConnectionData.java
sc.calendar.db.DbConnection.java
sc.calendar.db.DbInterface.java
sc.calendar.ui.CalendarEventAdapter.java