You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
54 lines
1.3 KiB
Java
54 lines
1.3 KiB
Java
2 years ago
|
// Copyright 2020 Google LLC
|
||
|
//
|
||
|
// 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 com.google.firebase.messaging;
|
||
|
|
||
|
import android.os.Parcel;
|
||
|
import android.os.Parcelable;
|
||
|
import java.util.Map;
|
||
|
|
||
|
public class RemoteMessage implements Parcelable {
|
||
|
|
||
|
protected RemoteMessage(Parcel in)
|
||
|
{
|
||
|
}
|
||
|
|
||
|
public static final Creator<RemoteMessage> CREATOR = new Creator<RemoteMessage>()
|
||
|
{
|
||
|
@Override
|
||
|
public RemoteMessage createFromParcel(Parcel in)
|
||
|
{
|
||
|
return new RemoteMessage(in);
|
||
|
}
|
||
|
|
||
|
@Override
|
||
|
public RemoteMessage[] newArray(int size)
|
||
|
{
|
||
|
return new RemoteMessage[size];
|
||
|
}
|
||
|
};
|
||
|
|
||
|
public int describeContents() {
|
||
|
return 0;
|
||
|
}
|
||
|
|
||
|
public void writeToParcel(Parcel out, int flags) {
|
||
|
}
|
||
|
|
||
|
public Map<String, String> getData() {
|
||
|
return null;
|
||
|
}
|
||
|
|
||
|
}
|