Skip to content

Commit 7a41ace

Browse files
committed
Merge pull request #133 from ParsePlatform/gogo.fix-warning
Fix build warnings
2 parents 910cce3 + db17903 commit 7a41ace

File tree

5 files changed

+29
-4
lines changed

5 files changed

+29
-4
lines changed

Parse/Internal/PlatformHooks/Android/PlatformHooks.Android.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
using System.Text;
1212

1313
using PreserveAttribute = Android.Runtime.PreserveAttribute;
14-
using System.Threading.Tasks;
1514

1615
namespace Parse {
1716
[Preserve(AllMembers = true)]

Parse/Internal/Push/Android/NotificationCompat.cs

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,13 @@ public Notification Build(Builder b) {
8484
}
8585
}
8686

87-
// TODO (hallucinogen): docs
87+
/// <summary>
88+
/// Builder class for <see cref="NotificationCompat"/> objects.
89+
/// </summary>
90+
/// <seealso href="http://developer.android.com/reference/android/support/v4/app/NotificationCompat.Builder.html"/>
91+
/// <remarks>
92+
/// Allows easier control over all the flags, as well as help constructing the typical notification layouts.
93+
/// </remarks>
8894
public class Builder {
8995
private const int MaxCharSequenceLength = 5 * 1024;
9096

@@ -204,6 +210,9 @@ private static ICharSequence limitCharSequenceLength(ICharSequence cs) {
204210
}
205211
}
206212

213+
/// <summary>
214+
/// An object that can apply a rich notification style to a <see cref="NotificationCompat.Builder"/> object.
215+
/// </summary>
207216
public abstract class Style {
208217
protected Builder builder;
209218
public ICharSequence BigContentTitle { get; protected set; }
@@ -244,10 +253,10 @@ public BigTextStyle(Builder builder) {
244253
}
245254

246255
/// <summary>
247-
/// Overrides <see cref="ContentTitle"/> in the big form of the template.
256+
/// Overrides <see cref="Builder.ContentTitle"/> in the big form of the template.
248257
/// </summary>
249258
/// <remarks>
250-
/// This defaults to the value passed to setContentTitle().
259+
/// This defaults to the value passed to SetContentTitle().
251260
/// </remarks>
252261
/// <param name="title"></param>
253262
/// <returns></returns>

Parse/Public/ParseQuery.cs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -903,6 +903,11 @@ private void EnsureNotInstallationQuery() {
903903
}
904904
}
905905

906+
/// <summary>
907+
/// Determines whether the specified object is equal to the current object.
908+
/// </summary>
909+
/// <param name="obj">The object to compare with the current object.</param>
910+
/// <returns><c>true</c> if the specified object is equal to the current object; otherwise, <c>false</c></returns>
906911
public override bool Equals(object obj) {
907912
if (obj == null || !(obj is ParseQuery<T>)) {
908913
return false;
@@ -918,6 +923,10 @@ public override bool Equals(object obj) {
918923
Object.Equals(this.limit, other.limit);
919924
}
920925

926+
/// <summary>
927+
/// Serves as the default hash function.
928+
/// </summary>
929+
/// <returns>A hash code for the current object.</returns>
921930
public override int GetHashCode() {
922931
// TODO (richardross): Implement this.
923932
return 0;

Parse/Public/Partial/ParsePush.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,9 @@ public DateTime? Expiration {
8282
}
8383
}
8484

85+
/// <summary>
86+
/// The time at which this push will be sent.
87+
/// </summary>
8588
public DateTime? PushTime {
8689
get { return state.PushTime; }
8790
set {

Parse/Public/Unity/ParseInitializeBehaviour.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,11 @@ public virtual void Awake() {
4949
}
5050
}
5151

52+
/// <summary>
53+
/// Delegate function that will be called when the player pauses the game.
54+
/// </summary>
55+
/// <seealso href="http://docs.unity3d.com/ScriptReference/MonoBehaviour.OnApplicationPause.html"/>
56+
/// <param name="paused"><c>true</c> if the application is paused.</param>
5257
public void OnApplicationPause(bool paused) {
5358
if (PlatformHooks.IsAndroid) {
5459
PlatformHooks.CallStaticJavaUnityMethod("com.parse.ParsePushUnityHelper", "setApplicationPaused", new object[] { paused });

0 commit comments

Comments
 (0)